﻿using Digitalmes.Signals;
using MediatR;
using System.Threading;
using System.Threading.Tasks;

namespace Digitalmes.EventHandler
{
    public abstract class AbstractHandler<T> : BaseService,IRequestHandler<T, HandleResult> where T : IRequest<HandleResult>
    {

        public abstract Task<HandleResult> Handle(T request, CancellationToken cancellationToken);


       
    }
}
